package com.hst.capacity.domain.model.entity.order.intercity;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "dm_driver_task")//司机任务绑定表
public class IntercityDriverTaskEntity extends BaseEntity {

  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idTask;
  private String idDriver;
  private String idLine;
  private String idSchedule;
  private String scheduleTime;
  private String idFranchisee;
  private String idShareRoute;
  private Integer seating;
  private Integer passengersNumber;
  private Integer passengersIncarNumber;
  private Integer transportedPassengersNumber;
  private Float taskSumMoney;
  private Float taskAdditionalMoney;
  private Float taskCouponMoney;
  private Integer serviceType;
  private Integer taskType;
  private Integer status;
  private Float driverSubsidy;
  private Float driverNoLoadSubsidy;
  private String memo;

}
